import { Rule, RuleType } from '@midwayjs/validate';
import { ApiProperty } from '@midwayjs/swagger';
import { MapDTO } from './map';
/**
 * 描述
 */
export class SearchDTO extends MapDTO {
    // 描述
    @ApiProperty({ example: 1, description: 'The name of the Catname' })
    @Rule(RuleType.number().required())
    page: number;
    @ApiProperty({ example: 10, description: 'The name of the Catname' })
    @Rule(RuleType.number().required())
    size: number;

}
